﻿onmessage = function(event) {
  var result = event.data * 2; // logic
  WScript.Sleep(5 * 1000); // heavy process!
  postMessage(result); // return value
}
